package com.cykj.pos.mapper;

import com.cykj.pos.domain.AizDeductionRecords;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cykj.pos.domain.AizDeductionWallet;
import com.cykj.pos.domain.dto.TranscationListDTO;

import java.util.List;

/**
 * 未/未激活扣款记录Mapper接口
 *
 * @author weijianbo
 * @date 2025-03-05
 */
public interface AizDeductionRecordsMapper extends BaseMapper<AizDeductionRecords> {

    List<TranscationListDTO> selectAppBackDeductionRecords(AizDeductionRecords aizDeductionRecords);

    AizDeductionWallet getWalletByUserId(Long userId);

    void insertWalletData(AizDeductionWallet aizDeductionWallet_new);

    void updateWalletData(AizDeductionWallet aizDeductionWallet);

    List<AizDeductionRecords> queryList(AizDeductionRecords aizDeductionRecords);
}
